package io.renren.modules.app.service;

import io.renren.modules.app.entity.GoodCouponEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chaolemen
 * @email 2698481037@qq.com
 * @date 2017-12-27 19:45:39
 */
public interface GoodCouponService {
	
	GoodCouponEntity queryObject(Long id);
	
	List<GoodCouponEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(GoodCouponEntity goodCoupon);
	
	void update(GoodCouponEntity goodCoupon);
	
	void delete(Long id);
	
	void deleteBatch(Long[] ids);

	void saveList(List<GoodCouponEntity> goodCoupons);
}
